package com.haihong.config.client.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试git上面的spring-cloud-config
 *
 * @author admin
 * @version 1.0  2019/8/23 11:18
 */
@RestController
public class TestController {

    @Value("${neo.hello}")
    private String str;

    @RequestMapping(value = "/hello")
    public String testHello(){
        return str;
    }
}
